package com.phiture.erp.purchase.api.service;

import com.phiture.erp.purchase.api.pojo.req.ErpPurchaseReturnReq;
import com.phiture.erp.purchase.api.pojo.resp.ErpPurchaseReturnItemResp;
import com.phiture.erp.purchase.api.pojo.resp.ErpPurchaseReturnResp;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface ErpPurchaseReturnApi {
    List<ErpPurchaseReturnResp> getPurchaseReturnList(ErpPurchaseReturnReq req);
    List<ErpPurchaseReturnItemResp> getPurchaseReturnItemList(Map<Long, javafx.util.Pair<String, Long>> purchaseReturnMap);
    void backfillPurchaseReturnAccountCheckFlag(Collection<Long> purchaseReturnIds, Boolean accountCheckFlag);
    void updatePurchaseReturnAccountCheckFlag(Collection<String> purchaseReturnNos, Boolean accountCheckFlag);

}
